﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, GeneratedCode("svcutil", "3.0.4506.2152"), DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), DebuggerStepThrough]
    public class PresetTour
    {
        private XmlAttribute[] anyAttrField;
        private bool autoStartField;
        private PTZPresetTourExtension extensionField;
        private string nameField;
        private PTZPresetTourStartingCondition startingConditionField;
        private PTZPresetTourStatus statusField;
        private string tokenField;
        private PTZPresetTourSpot[] tourSpotField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=2)]
        public bool AutoStart
        {
            get
            {
                return this.autoStartField;
            }
            set
            {
                this.autoStartField = value;
            }
        }

        [XmlElement(Order=5)]
        public PTZPresetTourExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        [XmlElement(Order=3)]
        public PTZPresetTourStartingCondition StartingCondition
        {
            get
            {
                return this.startingConditionField;
            }
            set
            {
                this.startingConditionField = value;
            }
        }

        [XmlElement(Order=1)]
        public PTZPresetTourStatus Status
        {
            get
            {
                return this.statusField;
            }
            set
            {
                this.statusField = value;
            }
        }

        [XmlAttribute]
        public string token
        {
            get
            {
                return this.tokenField;
            }
            set
            {
                this.tokenField = value;
            }
        }

        [XmlElement("TourSpot", Order=4)]
        public PTZPresetTourSpot[] TourSpot
        {
            get
            {
                return this.tourSpotField;
            }
            set
            {
                this.tourSpotField = value;
            }
        }
    }
}

